fund = 0
unit_amount = 10000
init_rate = 0.05 / 12
rate = 0.05 / 12
# 循环12次，每次fund增加unit_amount，rate增加0.0025
for i in range(12):
    fund += unit_amount
    fund += fund * rate
    rate += init_rate
    print(fund)
print("**********************")
profit = int(fund - unit_amount * 12)
print("profit is " + str(profit))
print(str(int(profit * 10000 / (unit_amount * 12)) / 100) + "%")
